package com.knife.hospital.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

public class ArrangementPO {
    private Integer id;

    private Integer doctorId;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date date;

    private Integer morningTotalNumber;

    private Integer morningActualNumber;

    private Integer afternoonTotalNumber;

    private Integer afternoonActualNumber;

    private String reserved;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Integer doctorId) {
        this.doctorId = doctorId;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Integer getMorningTotalNumber() {
        return morningTotalNumber;
    }

    public void setMorningTotalNumber(Integer morningTotalNumber) {
        this.morningTotalNumber = morningTotalNumber;
    }

    public Integer getMorningActualNumber() {
        return morningActualNumber;
    }

    public void setMorningActualNumber(Integer morningActualNumber) {
        this.morningActualNumber = morningActualNumber;
    }

    public Integer getAfternoonTotalNumber() {
        return afternoonTotalNumber;
    }

    public void setAfternoonTotalNumber(Integer afternoonTotalNumber) {
        this.afternoonTotalNumber = afternoonTotalNumber;
    }

    public Integer getAfternoonActualNumber() {
        return afternoonActualNumber;
    }

    public void setAfternoonActualNumber(Integer afternoonActualNumber) {
        this.afternoonActualNumber = afternoonActualNumber;
    }

    public String getReserved() {
        return reserved;
    }

    public void setReserved(String reserved) {
        this.reserved = reserved == null ? null : reserved.trim();
    }
}
